package exam.service;

import exam.bean.Teacher;

import java.util.List;
import java.util.Map;

public interface ITeacherService {


    public List<Teacher> selectTeacher(int pageNum, int pageSize,Map<String,Object> queryMap);

    public int insertTeacher(Teacher teacher,String uploadPath);

    /**
     * 查询单条信息  详情
     * @param map
     * @return
     */
    public Teacher selectTeacherSingle(Map<String,Object> map);

    /**
     * 修改
     * @param teacher
     * @return
     */
    public int updateTeacher(Teacher teacher,String uploadPath);

    /**
     * 删除数据
     * @param id
     * @return
     */
    public int deleteTeacher(int id);

}
